Skip to content

feat(creation): Display finalization errors and completion checklist (#252)#268

Merged
Jasrags merged 1 commit intomainfrom
feature/252-finalization-error-display
Feb 4, 2026
Merged

feat(creation): Display finalization errors and completion checklist (#252)#268
Jasrags merged 1 commit intomainfrom
feature/252-finalization-error-display

Conversation

@Jasrags
Copy link
Owner

@Jasrags Jasrags commented Feb 4, 2026

Summary

  • Completion checklist in sticky footer shows exactly what's missing (priorities, metatype, magic path, identity, lifestyle) as compact blue info chips that disappear as items are completed
  • Server validation errors/warnings from the finalize endpoint are surfaced in the footer as red (errors) and amber (warnings) panels with suggestions
  • State wiring in page.tsx captures 400 responses from /api/characters/{id}/finalize, clears validation on user edits, and passes results down to the layout

Closes #252

Test plan

  • Open character creation with empty sheet — footer shows all 5 incomplete items
  • Set all 5 priorities — "Set all 5 priorities" disappears
  • Select metatype — "Select a metatype" disappears
  • Select magic path — "Select a magic/resonance path" disappears
  • Add identity — "Add at least one identity (SIN)" disappears
  • Add lifestyle — "Add at least one lifestyle" disappears
  • When all items complete + no budget errors — button enables, checklist disappears
  • Attempt finalize with server-side errors — red error panel appears with messages
  • Edit the character after server errors — validation panel clears
  • pnpm type-check passes
  • pnpm test -- --run passes (6453 tests)

🤖 Generated with Claude Code

Display incomplete requirements (priorities, metatype, magic path,
identity, lifestyle) as a compact blue info panel above the finalize
button so users know exactly what blocks character creation. Items
disappear as they are completed. Also wire up server-side validation
errors/warnings from the finalize endpoint into the footer.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@Jasrags Jasrags self-assigned this Feb 4, 2026
@Jasrags Jasrags merged commit 680abaa into main Feb 4, 2026
3 checks passed
@Jasrags Jasrags deleted the feature/252-finalization-error-display branch February 4, 2026 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display server-side finalization validation errors to user

1 participant